//是否刷新表格 refresh
//定义state
export type RefreshState = {
  refresh: boolean
}
export const state: RefreshState = {
  refresh:false
}
//定义mutations
export const mutations = {
  // 设置
  setRefresh(state: RefreshState, refresh: boolean) {
    state.refresh = refresh
  },
}
//定义getters
export const getters = {
  getRefresh(state: RefreshState) {
    return state.refresh
  },
}
//定义actios
export const actions = {}
export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}